﻿using System;
using System.Web;

namespace ClientApp.Models
{
    public static class GlobalVariables
    {
        public static int CodeCardPasswordNumber
        {
            get
            {
                var r = new Random();
                var value = r.Next(1, 5);
                HttpContext.Current.Application["CodeCardPasswordNumber"] = value;
                return value;
            }
        }
    }
}